/*
* Copyright (c) 2016 . All Rights Reserved.
*/
package com.cgmnx.admin.biz.log;

import com.cgmnx.admin.common.bean.Limiter;
import com.cgmnx.admin.dao.condition.LogCondition;
import com.cgmnx.admin.dao.entity.rbac.OperationLogEntity;
import com.cgmnx.admin.model.enums.rbac.OperationType;

import java.util.List;


/**
 * @author: created  Date: 16/12/15 Time: 上午9:25
 * @version: 1.0
 */
public interface OperationLogBiz {

    Void save(OperationLogEntity entry);

    OperationLogEntity query(Integer id);

    List<OperationLogEntity> query(Integer operationId, OperationType type);

    List<OperationLogEntity> queryPage(LogCondition condition, Limiter limiter);

    Integer count(LogCondition condition);
}